weight = eval(input("请输入体重："))
height = eval(input("请输入身高："))
height = height / 100
bmi = weight / (height*height)
lx_weight = (24*height*height)

print("BMI is",format(bmi,".2f"))
if bmi<18.5:
    print("超轻")
elif bmi<25:
    print("标准")

elif bmi<27:
    print("過重")
elif bmi<30:
    print("輕度肥胖")
elif bmi<35:
    print("中度肥胖")
else:
    print("重度肥胖")

print("理想的体重小于：",lx_weight)
print("您至少要减少：",format((weight-lx_weight)*2,".2f"))